package com.fortune.service;

import com.fortune.dto.in.cPriceMgt.CPriceAddDto;
import com.fortune.dto.in.cPriceMgt.CPriceEditDto;
import com.fortune.dto.in.cPriceMgt.CPriceListDto;
import com.fortune.dto.in.cPriceMgt.CWholesalePriceDto;
import com.fortune.vo.cPriceMgt.CClientPrice;
import com.fortune.vo.cPriceMgt.CClientWholesalePrice;

import java.util.List;

public interface CProductWholesalePriceService {
    /**
     * 客户批发价列表
     * @param companyId
     * @param dealerId
     * @param listDto
     * @return
     */
    List<CClientPrice> queryProductPriceList(String companyId,String dealerId,CPriceListDto listDto);

    /**
     * 客户批发价列表个数
     * @param companyId
     * @param dealerId
     * @param listDto
     * @return
     */
    int queryProductPriceListCount(String companyId,String dealerId,CPriceListDto listDto);

    /**
     * 新增客户批发
     * @param companyId
     * @param dealerId
     * @param addDto
     * @return
     */
    int addProductWholesalePrice(String companyId,String dealerId,CPriceAddDto addDto);

    /**
     * 编辑客户批发
     * @param companyId
     * @param dealerId
     * @param editDto
     * @return
     */
    int editProductWholesalePrice(String companyId,String dealerId,CPriceEditDto editDto);

    /**
     * 删除客户批发
     * @param companyId
     * @param dealerId
     * @param productId
     * @param clientId
     * @return
     */
    int deleteProductWholesalePrice(String companyId,String dealerId,String productId,String clientId);

    /**
     * 查询客户统一批发价
     * @param companyId
     * @param dealerId
     * @param cWholesalePriceDto
     * @return
     */
    List<CClientWholesalePrice> queryProductWholesalePriceList(String companyId,String dealerId,CWholesalePriceDto cWholesalePriceDto);

    /**
     * 查询客户统一批发价个数
     * @param companyId
     * @param dealerId
     * @param cWholesalePriceDto
     * @return
     */
    int queryProductWholesalePriceListCount(String companyId,String dealerId,CWholesalePriceDto cWholesalePriceDto);
}
